package com.gancp.dao;

import com.gancp.domain.User;

/**
 * Created by GCP on 2018/5/10.
 * <p>
 * T 实体对象
 * K 主键类型
 */
public interface IBaseMapper<T, K> {
    int deleteByPrimaryKey(K id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(K id);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
}
